from geometry._init_ import square_area , rectangle_area , circle_area , triangle_area ,cube_surface_area , cuboid_surface_area , sphere_surface_area , cylinder_surface_area , cube_volume , cuboid_volume , sphere_volume , cylinder_volume  
# 疑问：为什么from geometry import …… 就不行

  
def main():  
    # 计算并打印平面图形的面积  
    print("Square Area (side=5):", square_area(5))  
    print("Rectangle Area (length=4, width=3):", rectangle_area(4, 3))  
    print("Circle Area (radius=3):", circle_area(3))  
    print("Triangle Area (base=6, height=4):", triangle_area(6, 4))  
      
    # 计算并打印3D图形的表面积和体积  
    print("Cube Surface Area (side=4):", cube_surface_area(4))  
    print("Cube Volume (side=4):", cube_volume(4))  
      
    print("Cuboid Surface Area (length=5, width=3, height=2):", cuboid_surface_area(5, 3, 2))  
    print("Cuboid Volume (length=5, width=3, height=2):", cuboid_volume(5, 3, 2))  
      
    print("Sphere Surface Area (radius=3):", sphere_surface_area(3))  
    print("Sphere Volume (radius=3):", sphere_volume(3))  
      
    print("Cylinder Surface Area (radius=2, height=5):", cylinder_surface_area(2, 5))  
    print("Cylinder Volume (radius=2, height=5):", cylinder_volume(2, 5))  
  
if __name__ == "__main__":  
    main()